#include <stdio.h>
#include "market.h"

int main(int argc, char* argv[]){ 
	int choice;
	int out;
	out = FALSE;
	do {
		choice = menu();
		switch (choice){
			case 0:
				out = TRUE;
				break;
			case 1:
				man_market();
				break;
			case 2:
				man_order();
				break;
			case 3:
				man_supplier();
				break;
			case 4:
				man_complaint();
				break;
			default:
				printf ("Opcion no encontrada.\n");
				break;
		}
	} while (out == FALSE);
	return 0;
}
